1c700b8e4db23e9664fe4093bb54096e483fcc66,portal-impl/src/com/liferay/portlet/assetpublisher/util/AssetSearcher.java,AssetSearcher,addSearchNotAllCategories,#BooleanQuery#SearchContext#,308
Before Change
List<Long> categoryIds = new ArrayList<Long>();
if (PropsValues.ASSET_CATEGORIES_SEARCH_HIERARCHICAL) {
categoryIds = AssetCategoryLocalServiceUtil.getSubcategoryIds(
notAllCategoryId);
}
if (categoryIds.isEmpty()) {
After Change
List<Long> categoryIds = new ArrayList<Long>();
if (PropsValues.ASSET_CATEGORIES_SEARCH_HIERARCHICAL) {
categoryIds.addAll(
AssetCategoryLocalServiceUtil.getSubcategoryIds(
notAllCategoryId));
}
if (categoryIds.isEmpty()) {